package huang.com.android.alarmserver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AlarmReceiver extends BroadcastReceiver{

    @Override
    public void onReceive(Context context, Intent intent) {
        context.startService(new Intent(context,NotifyService.class));
        /*
        相当于，Intent i = new Intent(context,NotyfyService.class);
        context.startService(i);
         */

    }
}
